import request from '@/utils/request'

// 数据集/数据表
export const getDatasetsAndTableList = (params: any) => {
    return request({
        url: '/data-governance/quality/AuditManagement/getDatasetList',
        method: 'get',
        params: params
    });
}

// 获取校验规则
export const getCheckRulesData = () => {
    return request({
        url: '/data-governance/dataQaRuleTemplate/page?page=1&limit=9999',
        method: 'get'
    });
}
// 获取所属机构
export const getOrgData = () => {
    return request({
        url: '/data-governance/dataQaResult/list?name=',
        method: 'get'
    });
}

// // 异常日志
// export const getExceptionLog = (params: any) => {
//     return request({
//         url: 'quality_platform/verification_management/get_verification_exception_log',
//         method: 'post',
//         params: params
//     });
// }

// 日志导出
export const exceptionLogExport = (params: any) => {
    return request({
        url: '/data-governance/quality/AuditManagement/exportCheckExceptionLog',
        method: 'get',
        params: params
    });
}
